/*
 * $Id$
 */
package corejs.expr;

import corejs.rt.ActivationRecord;
import corejs.util.XmlPrinter;

/**
 *
 * @author myang
 */
public abstract class UnaryExpr implements Expression {

   protected Expression _expr;

   public UnaryExpr(final Expression expr) {
      _expr = expr;
   }

   public Expression expr() {
      return _expr;
   }

   @Override
   public void print(final XmlPrinter printer) {
   }

   @Override
   public Object eval(final ActivationRecord scope) {
      return null;
   }
   
}
